#pragma once

#define CREATECLASS(classname) {return new classname;}

#ifdef _DEBUG
#define SKIN_DEBUG_STRING(lpszMsg) {OutputDebugString(lpszMsg);OutputDebugString(_T("\r\n"));}
#define SKIN_DEBUG_STRING2(lpsz1,lpsz2){OutputDebugString(lpsz1);OutputDebugString(lpsz2);OutputDebugString(_T("\r\n"));}
#define SKIN_DEBUG_UINT(uValue){TCHAR sStr[20]={0};_stprintf(sStr,_T("%u"),uValue);SKIN_DEBUG_STRING(sStr);}
#else
#define SKIN_DEBUG_STRING(lpszMsg)
#define SKIN_DEBUG_STRING2(lpsz1,lpsz2)
#endif
